<template>
  <div class="left_index clearfix">
    <list :prov="provinceData" :cityLv="cityLv" :cityList="cityList" />
  </div>
</template>

<script>
import list from './list'
export default {
  props: {
    cityLv: {
      type: Number,
      default: 1,
    },
    cityList: {
      type: Array,
      default() {
        return []
      },
    },
    province: {
      type: Array,
      default() {
        return []
      },
    },
  },
  data() {
    return {
      provinceData: [],
    }
  },
  watch: {
    province: function (newVal, oldVal) {
      this.provinceData = newVal
    },
  },
  components: {
    list,
  },
}
</script>

<style lang="scss" scoped>
.left_index {
  position: absolute;
  top: 280px;
  left: 0px;
  width: 1232px;
  height: 1600px;
  z-index: 999;
  /* z-index: 300; */
}
</style>
